package com.slt.android.animation;

import android.app.Activity;
import android.os.Bundle;

/**
 * Created by dp on 2018/4/3.
 */

public class SecondActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_second);
    }

    @Override
    public void finish() {
        super.finish();
        overridePendingTransition(R.anim.enter_anim , R.anim.exit_anim);
    }
}
